package com.itjin.resume_back.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itjin.resume_back.entity.User;
import com.itjin.resume_back.dto.LoginResponse;

public interface UserService extends IService<User> {
  // 用户注册
  void register(User user);

  // 用户登录
  LoginResponse login(String username, String password);

  // 修改密码
  void updatePassword(Long userId, String oldPassword, String newPassword);

  // 更新用户状态
  void updateStatus(Long userId, Integer status);
}